Solaris 2.6 and large tables
От | Ivan Richwalski |
---|---|
Тема | Solaris 2.6 and large tables |
Дата | |
Msg-id | v04011701b208c8c70d13@[207.67.69.17] обсуждение исходный текст |
Ответы |
Re: [ADMIN] Solaris 2.6 and large tables
|
Список | pgsql-admin |
I've been working with some really large tables in Postgres ( both 6.2.1 and in preparing to upgrade to 6.3.2 ) running on Solaris 2.6 on an Ultra1. When the amount of data in any one table reaches 2Gig, the postgres client connection will just hang. Any subsequent connections will hang until the first offending process is killed, at which point other connections will complete successfully. Other queries will work unless one tries to access the data that was added at the end of the table, at which point it will hang until it is killed again. I have been able to work around the problem by compiling 6.3.2 with the Solaris options for using 64bit files. To make the change, I added the flags to the sparc_solaris-gcc template file, and changed the couple of occurrences of "fseek" in src/backend/utils/sort/psort.c to "fseeko" just incase. It compiles, all of the regression tests do the expected things, and the "table.1" file gets created when the table exceeds the 2Gig mark. Everything appears to be functioning fine, and I was wondering if anyone else has had any experiences with similar situations. Ivan Richwalski -- "Look, a huge distracty thing." -- Tom Servo
В списке pgsql-admin по дате отправления: